package com.wanmait.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2023/11/30
*/
@Data
@TableName(value = "log")
@Accessors(chain = true)
public class Log implements Serializable {
    /**
     * 管理日志id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 管理员id
     */
    @TableField(value = "admin_id")
    private Integer adminId;

    /**
     * 操作
     */
    @TableField(value = "operate")
    private String operate;

    /**
     * 操作时间
     */
    @TableField(value = "operate_time")
    private Date operateTime;

    /**
     * enable
     */
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_OPERATE = "operate";

    public static final String COL_OPERATE_TIME = "operate_time";

    public static final String COL_ENABLE = "enable";
}